package com.league.zjxn.base

import android.app.Application
import com.blankj.utilcode.util.ActivityUtils
import com.blankj.utilcode.util.SPStaticUtils
import com.league.zjxn.main.access.AccessActivity
import com.module.lemlin.owner.OwnerViewModel

open class BaseViewModel(application: Application) : OwnerViewModel(application) {
    override fun onTokenOverdue() {
        SPStaticUtils.clear()
        ActivityUtils.finishAllActivities()
        AccessActivity.open()
    }
}